// Code generated by ent, DO NOT EDIT.

package ent

import (
	_ "embed"

	"net/http"
	"strings"
	"time"
)

//go:embed schema-viz.html
var html string

func ServeEntviz() http.Handler {
	generateTime := time.Now()
	return http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
		http.ServeContent(w, req, "schema-viz.html", generateTime, strings.NewReader(html))
	})
}
